﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HrInfonew.ascx.cs" Inherits="Control_HrInfonew" %>
<%@ Register Assembly="ZLTextBox" Namespace="BaseText" TagPrefix="cc1" %>
<%@ Register Src="DepartmentDList.ascx" TagName="DepartmentDList" TagPrefix="uc1" %>
<%@ Register Src="JobList.ascx" TagName="JobList" TagPrefix="uc2" %>

<infolight:webdatasource id="MasterHr" runat="server" autoapply="True" webdatasetid="WMasterHr"
    datamember="EmployeesHr" selectcommand="" selectalias="" cachedataset="True"
    onupdating="MasterHr_Updating">
</infolight:webdatasource>
<fieldset title="人事信息" style="overflow: hidden; margin-top:10px;">
    <legend style="font-size: large; font-weight: bold">人事信息</legend>
    <table style="width: 100%">
        <tr>
            <td>
                <infolight:webnavigator id="wnHr" runat="server" bindingobject="FVHr" oncommand="wnHr_Command"
                    showdatastyle="FormViewStyle" width="100%" statusstrip="WebStatusStrip1" 
                    CssClass="NavigatorBar" CtlHeight="25">
                    <navcontrols>
                <InfoLight:ControlItem ControlName="First" ControlText="掸" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/first.gif" MouseOverImageUrl="../image/uipics/first2.gif"
                    Size="25" DisenableImageUrl="../image/uipics/first3.gif" />
                <InfoLight:ControlItem ControlName="Previous" ControlText="掸" ControlType="Image"
                    ControlVisible="False" ImageUrl="../image/uipics/previous.gif" MouseOverImageUrl="../image/uipics/previous2.gif"
                    Size="25" DisenableImageUrl="../image/uipics/previous3.gif" />
                <InfoLight:ControlItem ControlName="Next" ControlText="掸" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/next.gif" MouseOverImageUrl="../image/uipics/next2.gif"
                    Size="25" DisenableImageUrl="../image/uipics/next3.gif" />
                <InfoLight:ControlItem ControlName="Last" ControlText="ソ掸" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/last.gif" MouseOverImageUrl="../image/uipics/last2.gif"
                    Size="25" DisenableImageUrl="../image/uipics/next3.gif" />
                    
                    
         
                 <InfoLight:ControlItem ControlName="Update" ControlText="update" ControlType="Image"
                    ControlVisible="True" DisenableImageUrl="../Image/UIPics/Edit3_C.gif" ImageUrl="../Image/UIPics/Edit_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Edit2_C.gif" Size="48">
                </InfoLight:ControlItem>
                
              
                    
               
<InfoLight:ControlItem ControlName="Cancel" ControlType="Image" ControlVisible="True"
                    DisenableImageUrl="../Image/UIPics/Abort3_C.gif" ImageUrl="../Image/UIPics/Abort_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Abort2_C.gif" Size="48">
                </InfoLight:ControlItem>
<InfoLight:ControlItem ControlName="Apply" ControlType="Image" ControlVisible="True"
                    DisenableImageUrl="../Image/UIPics/Apply3_C.gif" ImageUrl="../Image/UIPics/Apply_C.gif"
                    MouseOverImageUrl="../Image/UIPics/Apply2_C.gif" Size="48">
                </InfoLight:ControlItem>
                    
                    
                    
                <InfoLight:ControlItem ControlName="Abort" ControlText="斌" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/abort.gif" MouseOverImageUrl="../image/uipics/abort2.gif"
                    Size="25" DisenableImageUrl="../image/uipics/abort3.gif" />
                <InfoLight:ControlItem ControlName="Query" ControlText="琩高" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/query.gif" MouseOverImageUrl="../image/uipics/query2.gif"
                    Size="25" DisenableImageUrl="../image/uipics/query3.gif" />
                <InfoLight:ControlItem ControlName="Print" ControlText="ゴ" ControlType="Image" ControlVisible="False"
                    ImageUrl="../image/uipics/print.gif" MouseOverImageUrl="../image/uipics/print2.gif"
                    Size="25" DisenableImageUrl="../image/uipics/print3.gif" />
                <InfoLight:ControlItem ControlName="Export" ControlType="Image" ControlVisible="False"
                    DisenableImageUrl="../Image/UIPics/Export3.gif" ImageUrl="../Image/UIPics/Export.gif"
                    MouseOverImageUrl="../Image/UIPics/Export2.gif" Size="25" />
            </navcontrols>
                    <navstates>
                <InfoLight:WebNavigatorStateItem StateText="Initial" />
                <InfoLight:WebNavigatorStateItem StateText="Browsed" />
                <InfoLight:WebNavigatorStateItem StateText="Inserting" />
                <InfoLight:WebNavigatorStateItem StateText="Editing" />
                <InfoLight:WebNavigatorStateItem StateText="Applying" />
                <InfoLight:WebNavigatorStateItem StateText="Changing" />
                <InfoLight:WebNavigatorStateItem StateText="Querying" />
                <InfoLight:WebNavigatorStateItem StateText="Printing" />
            </navstates>
                </infolight:webnavigator>
            </td>
        </tr>
    </table>
    <infolight:webformview id="FVHr" runat="server" datasourceid="MasterHr" width="100%"
        cellpadding="4" ondatabound="FVHr_DataBound">
        <edititemtemplate>
           <table class="tbE" cellpadding="5">
         <tr>
             <td class="label1">
                员工状态：
             </td>
             <td class="textbox">
                 <InfoLight:WebDropDownList runat="server" ID="EmpStatus" 
                     AutoInsertEmptyData="False" DataSourceID="wdsEmpStatus" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("EmpStatus") %>'></InfoLight:WebDropDownList>
                 <asp:TextBox ID="EmployeeID" runat="server" Text='<%# Bind("EmployeeID") %>' Visible="false"></asp:TextBox>
             </td>
              <td class="label2">
                职称：
             </td>
             <td class="textbox">
            <InfoLight:WebDropDownList runat="server" ID="Title" 
                     AutoInsertEmptyData="False" DataSourceID="wdsTitle" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("Title") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
         <tr>
             <td class="label1">
                 入职日期(<span style="color:Red">*</span>)：
             </td>
             <td class="textbox">
             <asp:TextBox ID="TextBox3" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-M-d'})" Text='<%# Bind("Accession", "{0:d}") %>'  CssClass="Wdate"/></asp:TextBox>
         
             </td>
             <td class="label2">
                离职日期：
             </td>
             <td class="textbox">
             <asp:TextBox ID="TextBox5" runat="server" 
                    
                     Text='<%# Bind("Dimission", "{0:d}") %>' ReadOnly="True"/></asp:TextBox>
      
             </td>
         </tr>
          <tr>
             <td class="label1">
                资格认证1：
             </td>
             <td class="textbox">
              <InfoLight:WebDropDownList runat="server" ID="CompetencePermit" 
                     AutoInsertEmptyData="False" DataSourceID="wdsCompetencePermit" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("CompetencePermit") %>'></InfoLight:WebDropDownList>
             </td>
             <td class="label2">
                资格认证2：
             </td>
             <td class="textbox">
             <InfoLight:WebDropDownList runat="server" ID="CompetencePermit2" 
                     AutoInsertEmptyData="False" DataSourceID="wdsCompetencePermit" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("CompetencePermit2") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
          <tr>
             <td class="label1">
                资格认证3：
             </td>
             <td class="textbox">
              <InfoLight:WebDropDownList runat="server" ID="CompetencePermit3" 
                     AutoInsertEmptyData="False" DataSourceID="wdsCompetencePermit" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("CompetencePermit3") %>'></InfoLight:WebDropDownList>
             </td>
            <td class="label2">
                是否能担任内部讲师：
             </td>
             <td class="textbox">
             <InfoLight:WebDropDownList runat="server" ID="Shoulderdocent" 
                     AutoInsertEmptyData="False" DataSourceID="wdsShoulderdocent" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("Shoulderdocent") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
          <tr>
             <td class="label1">
                所在部门：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentId" runat="server" />
                 <hr />
                 <asp:TextBox ID="MoveRemark" runat="server" Text="[此处填部门变更备注]" 
                     TextMode="MultiLine" onMouseOver="this.style.background='#eeeeee'" 
                     onMouseOut="this.style.background='#fff'" MaxLength="100"></asp:TextBox>
             </td>
            <td class="label2">
                职位名称：
             </td>
             <td class="textbox">
                
                 <uc2:JobList ID="JobId" runat="server" />
                
             </td>
         </tr>
         <tr>
        <td class="label1">
           用工类型：
         </td>
         <td class="textbox">
          <InfoLight:WebDropDownList runat="server" ID="JobType" 
                     AutoInsertEmptyData="False" DataSourceID="wdsJobType" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("JobType") %>'></InfoLight:WebDropDownList>
         </td>
         </tr>
     <%--    <tr>
             <td class="label1">
                所兼部门数：
             </td>
             <td class="textbox">
                <asp:DropDownList ID="PartTimeDepNum" runat="server" SelectedValue='<%# Bind("PartTimeDepNum") %>'>
                <asp:ListItem Value="0">0</asp:ListItem>
                <asp:ListItem Value="1">1</asp:ListItem>
                <asp:ListItem Value="2">2</asp:ListItem>
                <asp:ListItem Value="3">3</asp:ListItem>
                <asp:ListItem Value="4">4</asp:ListItem>
                </asp:DropDownList>
             </td>
            <td class="label2">
                用工类型：
             </td>
             <td class="textbox">                
                 <InfoLight:WebDropDownList runat="server" ID="JobType" 
                     AutoInsertEmptyData="False" DataSourceID="wdsJobType" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("JobType") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门1：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList1" runat="server" />
             </td>
            <td class="label2">
                兼职位名称1：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList1" runat="server" />
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门2：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList2" runat="server" />
             </td>
            <td class="label2">
                兼职位名称2：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList2" runat="server" />
             </td>
         </tr>
          <tr>
             <td class="label1">
                所兼部门3：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList3" runat="server" />
             </td>
            <td class="label2">
                兼职位名称3：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList3" runat="server" />
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门4：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList4" runat="server" />
             </td>
            <td class="label2">
                兼职位名称4：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList4" runat="server" />
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门5：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList5" runat="server" />
             </td>
            <td class="label2">
                兼职位名称5：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList5" runat="server" />
             </td>
         </tr>--%>
          <tr>
             <td class="label1">
                公司组织：
             </td>
             <td class="textbox">
                    <InfoLight:WebDropDownList runat="server" ID="Framework" 
                     AutoInsertEmptyData="False" DataSourceID="wdsFramework" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="False" SelectedValue='<%# Bind("Framework") %>'></InfoLight:WebDropDownList>
                
             </td>
             <td class="label2">
                试用期（月）：
             </td>
             <td class="textbox">
                 <cc1:ZLTextBox ID="ProbationerShip" runat="server" InputType="number" onblurCssName="" onfocusCssName="" Text='<%# Bind("ProbationerShip") %>'></cc1:ZLTextBox>
             </td>
         </tr>
                   <tr>
             <td class="label1">
                人事备注：
             </td>
             <td class="textbox" colspan="3">
                     <cc1:ZLTextBox ID="HrRemark" runat="server" InputType="varchars" 
                         onblurCssName="" onfocusCssName="" Text='<%# Bind("HrRemark") %>' 
                         TextMode="MultiLine" FloatLength="0"></cc1:ZLTextBox>
             </td>
           
         </tr>
         </table>
        </edititemtemplate>
        <insertitemtemplate>
     
         </insertitemtemplate>
        <itemtemplate>
       <table class="tbR" cellpadding="5">
         <tr>
             <td class="label1">
                员工状态：
             </td>
             <td class="textbox">
                 <InfoLight:WebDropDownList runat="server" ID="EmpStatus" 
                     AutoInsertEmptyData="False" DataSourceID="wdsEmpStatus" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("EmpStatus") %>'></InfoLight:WebDropDownList>
                 <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("EmployeeID") %>' Visible="false"></asp:TextBox>
             </td>
              <td class="label2">
                职称：
             </td>
             <td class="textbox">
            <InfoLight:WebDropDownList runat="server" ID="Title" 
                     AutoInsertEmptyData="False" DataSourceID="wdsTitle" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("Title") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
         <tr>
             <td class="label1">
                入职日期：
             </td>
             <td class="textbox">

            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Accession", "{0:d}") %>' 
                     ReadOnly="True"/></asp:TextBox>
             </td>
             <td class="label2">
                离职日期：
             </td>
             <td class="textbox">
             <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("Dimission", "{0:d}") %>' 
                     ReadOnly="True"/></asp:TextBox>

             </td>
         </tr>
          <tr>
             <td class="label1">
                资格认证1：
             </td>
             <td class="textbox">
              <InfoLight:WebDropDownList runat="server" ID="CompetencePermit" 
                     AutoInsertEmptyData="False" DataSourceID="wdsCompetencePermit" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("CompetencePermit") %>'></InfoLight:WebDropDownList>
             </td>
             <td class="label2">
                资格认证2：
             </td>
             <td class="textbox">
             <InfoLight:WebDropDownList runat="server" ID="CompetencePermit2" 
                     AutoInsertEmptyData="False" DataSourceID="wdsCompetencePermit" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("CompetencePermit2") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
          <tr>
             <td class="label1">
                资格认证3：
             </td>
             <td class="textbox">
              <InfoLight:WebDropDownList runat="server" ID="CompetencePermit3" 
                     AutoInsertEmptyData="False" DataSourceID="wdsCompetencePermit" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("CompetencePermit3") %>'></InfoLight:WebDropDownList>
             </td>
            <td class="label2">
                是否能担任内部讲师：
             </td>
             <td class="textbox">
             <InfoLight:WebDropDownList runat="server" ID="Shoulderdocent" 
                     AutoInsertEmptyData="False" DataSourceID="wdsShoulderdocent" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("Shoulderdocent") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
          <tr>
             <td class="label1">
                所在部门：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentId" runat="server" />
             </td>
            <td class="label2">
                职位名称：
             </td>
             <td class="textbox">
                
                 <uc2:JobList ID="JobId" runat="server" />
                
             </td>
         </tr>
         <tr>
         <td class="label1">
         用工类型：
         </td>
          <td>
          <InfoLight:WebDropDownList runat="server" ID="JobType" 
                     AutoInsertEmptyData="False" DataSourceID="wdsJobType" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("JobType") %>'></InfoLight:WebDropDownList>
         </td>
         </tr>
        
       <%--  <tr>
             <td class="label1">
                所兼部门数：
             </td>
             <td class="textbox">

                
                
                <InfoLight:WebDropDownList runat="server" ID="DropDownList1" 
                     AutoInsertEmptyData="False" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("PartTimeDepNum") %>'>
                      <asp:ListItem Value="0">0</asp:ListItem>
                <asp:ListItem Value="1">1</asp:ListItem>
                <asp:ListItem Value="2">2</asp:ListItem>
                <asp:ListItem Value="3">3</asp:ListItem>
                <asp:ListItem Value="4">4</asp:ListItem>
                     
                      <asp:ListItem>5</asp:ListItem>
                     
                     </InfoLight:WebDropDownList>
             </td>
            <td class="label2">
                用工类型：
             </td>
             <td class="textbox">                
                 <InfoLight:WebDropDownList runat="server" ID="JobType" 
                     AutoInsertEmptyData="False" DataSourceID="wdsJobType" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("JobType") %>'></InfoLight:WebDropDownList>
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门1：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList1" runat="server" />
             </td>
            <td class="label2">
                兼职位名称1：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList1" runat="server" />
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门2：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList2" runat="server" />
             </td>
            <td class="label2">
                兼职位名称2：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList2" runat="server" />
             </td>
         </tr>
          <tr>
             <td class="label1">
                所兼部门3：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList3" runat="server" />
             </td>
            <td class="label2">
                兼职位名称3：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList3" runat="server" />
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门4：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList4" runat="server" />
             </td>
            <td class="label2">
                兼职位名称4：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList4" runat="server" />
             </td>
         </tr>
         <tr>
             <td class="label1">
                所兼部门5：
             </td>
             <td class="textbox">
                 <uc1:DepartmentDList ID="DepartmentDList5" runat="server" />
             </td>
            <td class="label2">
                兼职位名称5：
             </td>
             <td class="textbox">
                 <uc2:JobList ID="JobList5" runat="server" />
             </td>
         </tr>--%>
          <tr>
             <td class="label1">
                公司组织：
             </td>
             <td class="textbox">
                    <InfoLight:WebDropDownList runat="server" ID="Framework" 
                     AutoInsertEmptyData="False" DataSourceID="wdsFramework" DataTextField="ValueName" 
                     DataValueField="ValueId" DriverObject="" Filter="" FilterObject="" 
                     onlyshowselecttext="True" SelectedValue='<%# Bind("Framework") %>'></InfoLight:WebDropDownList>
                
             </td>
             <td class="label2">
                试用期（月）：
             </td>
             <td class="textbox">
                 <cc1:ZLTextBox ID="ZLTextBox5" runat="server" InputType="number" 
                     onblurCssName="" onfocusCssName="" Text='<%# Bind("ProbationerShip") %>' 
                     ReadOnly="True"></cc1:ZLTextBox>
             </td>
         </tr>
                   <tr>
             <td class="label1">
                人事备注：
             </td>
             <td class="textbox" colspan="3">
                     <cc1:ZLTextBox ID="HrRemark" runat="server" InputType="number" 
                         onblurCssName="" onfocusCssName="" Text='<%# Bind("HrRemark") %>' 
                         TextMode="MultiLine" ReadOnly="True"></cc1:ZLTextBox>
             </td>
           
         </tr>
         </table>
        </itemtemplate>
        <fields>
            <InfoLight:FormViewField ControlID="EmployeeID" FieldName="EmployeeID" />
            <InfoLight:FormViewField ControlID="EmpStatus" FieldName="EmpStatus" />
             <InfoLight:FormViewField ControlID="Accession" FieldName="Accession" />
            <InfoLight:FormViewField ControlID="Dimission" FieldName="Dimission" />
             <InfoLight:FormViewField ControlID="Title" FieldName="Title" />
            <InfoLight:FormViewField ControlID="CompetencePermit" FieldName="CompetencePermit" />
             <InfoLight:FormViewField ControlID="CompetencePermit2" FieldName="CompetencePermit2" />
            <InfoLight:FormViewField ControlID="CompetencePermit3" FieldName="CompetencePermit3" />
            <InfoLight:FormViewField ControlID="Shoulderdocent" FieldName="Shoulderdocent" />
            <InfoLight:FormViewField ControlID="DepartmentId" FieldName="DepartmentId" />
            
            <InfoLight:FormViewField ControlID="JobId" FieldName="JobId" />
            <InfoLight:FormViewField ControlID="PartTimeDepNum" FieldName="PartTimeDepNum" />
             <InfoLight:FormViewField ControlID="PartTimeDepId1" FieldName="PartTimeDepId1" />
            <InfoLight:FormViewField ControlID="PartTimeDepId2" FieldName="PartTimeDepId2" />
             <InfoLight:FormViewField ControlID="PartTimeDepId3" FieldName="PartTimeDepId3" />
            <InfoLight:FormViewField ControlID="PartTimeDepId4" FieldName="PartTimeDepId4" />
             <InfoLight:FormViewField ControlID="PartTimeDepId5" FieldName="PartTimeDepId5" />
             
            <InfoLight:FormViewField ControlID="PartTimeJobId1" FieldName="PartTimeJobId1" />
            <InfoLight:FormViewField ControlID="PartTimeJobId2" FieldName="PartTimeJobId2" />
            <InfoLight:FormViewField ControlID="PartTimeJobId3" FieldName="PartTimeJobId3" />
            
            
            <InfoLight:FormViewField ControlID="PartTimeJobId4" FieldName="PartTimeJobId4" />
            <InfoLight:FormViewField ControlID="PartTimeJobId5" FieldName="PartTimeJobId5" />
            
            
            
             <InfoLight:FormViewField ControlID="ProbationerShip" FieldName="ProbationerShip" />
            <InfoLight:FormViewField ControlID="Framework" FieldName="Framework" />
             <InfoLight:FormViewField ControlID="JobType" FieldName="JobType" />
            <InfoLight:FormViewField ControlID="HrRemark" FieldName="HrRemark" />
        </fields>
    </infolight:webformview>
    
</fieldset>
<infolight:webdatasource runat="server" id="wdsEmpStatus" selectalias="Usasdb" selectcommand="select Employees_LinkValue.* from Employees_LinkValue
where TypeId='EmpStatus' And ValueStatus=1" CacheDataSet="True">
</infolight:webdatasource>
<infolight:webdatasource runat="server" id="wdsTitle" selectalias="Usasdb" selectcommand="select Employees_LinkValue.* from Employees_LinkValue
where TypeId='Title' And ValueStatus=1" CacheDataSet="True">
</infolight:webdatasource>
<infolight:webdatasource runat="server" id="wdsCompetencePermit" selectalias="Usasdb"
    selectcommand="select Employees_LinkValue.* from Employees_LinkValue
where TypeId='CompetencePermit' And ValueStatus=1" CacheDataSet="True">
</infolight:webdatasource>
<infolight:webdatasource runat="server" id="wdsShoulderdocent" selectalias="Usasdb"
    selectcommand="select Employees_LinkValue.* from Employees_LinkValue
where TypeId='Shoulderdocent' And ValueStatus=1" CacheDataSet="True">
</infolight:webdatasource>
<infolight:webdatasource runat="server" id="wdsFramework" selectalias="Usasdb" selectcommand="select Employees_LinkValue.* from Employees_LinkValue
where TypeId='Framework' And ValueStatus=1" CacheDataSet="True">
</infolight:webdatasource>
<infolight:webdatasource runat="server" id="wdsJobType" selectalias="Usasdb" selectcommand="select Employees_LinkValue.* from Employees_LinkValue
where TypeId='JobType' And ValueStatus=1" CacheDataSet="True">
</infolight:webdatasource>
<infolight:webvalidate id="wv" runat="server" altrowcss="" datamember="" datasourceid="MasterHr"
    forecolor="Red" rowcss="" validatestyle="ShowDialog">
    <fields>
        <InfoLight:ValidateFieldItem CheckNull="True" FieldName="Accession"></InfoLight:ValidateFieldItem>
    </fields>
</infolight:webvalidate>

   